# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-tgbdual
pkgver=0_git20210606
pkgrel=0
_commit="1e0c4f931d8c5e859e6d3255d67247d7a2987434"
pkgdesc="libretro port of TGB Dual"
url="https://github.com/libretro/tgbdual-libretro"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/tgbdual-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/tgbdual-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 tgbdual_libretro.so "$pkgdir"/usr/lib/libretro/tgbdual_libretro.so
}

sha512sums="
c7d49c0be95e81a5b91f63c1003d2d77a0f044b41838ce7050bbdfaae83b434e556770c9b37c9c45d0f83ed3fc4b303a21d806f9ff553021636f5e3b327e8fc6  libretro-tgbdual-1e0c4f931d8c5e859e6d3255d67247d7a2987434.tar.gz
"
